<?php	$atr=array(
					"name"=>"SIHI",
					"onsubmit"=>"return checkSIHI()"
				  ); 
	echo form_open('SIHI/edit1',$atr);
	$bar="SIHI Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
			<th>SIHI_ID</th>
   			<th>SI_Book_No</th>
   			<th>IssuedDate1</th>
   			<th>HI_Card_No</th>
   			<th>IssuedDate2</th>
   			<th>ExpiredDate</th>
   			<th>RegisteredHospital</th> 
   			<th>Action</th>  	
	</tr>
	<tr>
			<td><input type="text" name ="SIHI_ID" class="shu" readonly="readonly" value=<?php echo $result->SIHI_ID; ?>></td>
   			<td><input type ="text" name ="SI_Book_No" class="shu" value=<?php echo $result->SI_Book_No; ?>></td>
   			<td><input type ="text" name ="IssuedDate1" class="work" value=<?php echo $result->IssuedDate1; ?> onkeyup="dtval(this,event)" maxlength="10"></td>
   			<td><input type ="text" name ="HI_Card_No" class="work" value=<?php echo $result->HI_Card_No; ?>></td>
   			<td><input type ="text" name ="IssuedDate2" class="work" value=<?php echo $result->IssuedDate2; ?> onkeyup="dtval(this,event)" maxlength="10"></td>
   			<td><input type ="text" name ="ExpiredDate" class="work" value=<?php echo $result->ExpiredDate; ?> onkeyup="dtval(this,event)" maxlength="10"></td>
   			<td><input type ="text" name ="RegisteredHospital" value="<?php echo $result->RegisteredHospital; ?>" ></td>	
		 	<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
